PATHMac OS 8 and 9 Developer Documentation > Interapplication Communication > AppleScript for Scripters >

AppleScript Language Guide

   

Document Revision History

This document has had the following releases.

Table A-1   AppleScript Language Guide document revision history 

May 21, 1999 HTML creation and editing complete.
May 5, 1999 This release covers AppleScript features through version 1.3.7.
Added new sample scripts and revised existing scripts. Examples now use the Mac OS, the Finder, and scriptable applications such as AppleWorks (available from Apple Computer, Inc.)
Removed all reference to the Scriptable Text Editor (a demo application that is no longer supported).
Revised and updated illustrations and added new illustrations.
Corrected errors and deleted outdated material.
Reformatted to provide improved online viewing.
replaces the Preface and provides a brief overview of the target audience and the material covered in the Language Guide.

Overview of AppleScript

Overview of AppleScript combines the former Chapters 1 and 2, which together provide an introduction to the AppleScript Language.
Added section Debugging Scripts that describes simple techniques for debugging scripts and points to a website with information on commercial script debugger applications.
Revised existing illustrations and added a new illustration, Figure 2-6, that shows a portion of the Finder application's dictionary.

Values and Constants

Date class description, Date, now includes Day property; Date String and Time String properties replace Date property.
Added a section, Unicode Text and International Text, that describes new value classes for working with Unicode Text and International Text
Added illustrations that show the format for the new text value classes, Figure 3-1, and how the Script Editor displays text data for these classes, Figure 3-2.
Added section, Unit Type Value Classes, that describes the new value classes for working with units of length, area, cubic and liquid volume, mass, and temperature.
Added a section, Other Value Classes, that describes value classes for working with file specifications, RGB colors, and styled Clipboard text.
Updated the table in Figure 3-3 showing the coercions AppleScript supports.
Added a section, Constants, that categorizes AppleScript constants, shows how to use them in scripts, and provides links to related information.

Commands

Added a section on name conflicts, Name Conflicts, to describe conflicts in the AppleScript name space.
Expanded section Double Angle Brackets in Results and Scripts ; double angle brackets are used to display raw data, and in certain other situations.
Expanded section, Using Results, on using results of commands.
Deleted description of Data Size command, which is rarely used.
Deleted description of the application version of the Copy command. (To copy within an application, use the command Duplicate. To copy between applications, use the Clipboard-related scripting addition commands.)
Added a description of the Reopen command.

Objects and References

Added tables showing dictionary definitions from the Finder, Table 5-1, and from AppleWorks, Table 5-2.
Expanded section, References to Files, that describes how to specify files in scripts. Added information on using file specifications.

Expressions

Added information on the sorting order for diacritical marks in the section Greater Than, Less Than.
Added concatenation operator to operator precedence table, Table 6-2.
Added section, Working With Dates at Century Boundaries, describing how AppleScript interprets two-digit dates near century boundaries (which encompasses the Y2K issue).

Control Statements

Added section on Debugging Control Statements.
Revised description of possible errors in Kinds of Errors.
Expanded coverage of using the Error command to signal an error.
Expanded coverage of With Timeout statements.

Handlers

Reorganized Handlers and renamed chapter sections for consistency.
Added a section on creating Script Applications.
Expanded the section on Recursive Subroutines.
Moved material on declaring variables and properties into a separate section, Declaring Variables and Properties.

Script Objects

No major changes.

The Language at a Glance

Reordered sections and tables.
Added a table, Table A-1, that provides links to examples for common scripting tasks.
In Table A-2, added constants for working with days, months, and time, and removed constants for alignment, from table of constants.
In Table A-3, added anything , missing value , and version to table of predefined variables.
In Table A-4, deleted the application Copy and Data Size commands, added the Reopen command, and simplified the syntax for the Make command in the command syntax table.
Added a section Coercions, with a table of AppleScript-supported coercions.
In Table A-5, added insertion point reference forms to reference form syntax.
In Table A-8, added table of operator precedence.
Moved section Error Numbers and Error Messages from former Appendix B. Reorganized errors and added some that were not in the previous version.

Document Revision History, Document Revision History

Added this revision history
1993 This was the first release of the AppleScript Language Guide.

© 1999 Apple Computer, Inc. – (Last Updated 21 May 99)